<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Window_footer</title>

    <link rel="stylesheet" type="text/css" href="/easyui.css">
    <link rel="stylesheet" type="text/css" href="/icon.css">
    <link rel="stylesheet" type="text/css" href="/demo.css">
    <script src="/jquery.min.js"></script>
    <script src="/jquery.easyui.min.js"></script>
</head>
<body>
<h2>Window with a Footer</h2>
<p>This example shows how to attach a footer bar to the window.</p>
<div style="margin:20px 0;">
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('open')">Open</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="$('#w').window('close')">Close</a>
</div>
<div id="w" style="width:500px;height:200px;padding:10px;">
   asshjasdkjlhasddjkh
</div>
<div id="footer" style="padding:5px;"> asshjasdkjlhasddjkh.</div>
<script type="text/javascript">
    $("#w").window({
        title:"Window with a Footer",
        modal:true,
        iconCls:'icon-save',
        footer:'#footer'

    });
</script>


</body>
</html>